/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package models;

import javax.persistence.*;
import play.db.jpa.Model;

/**
 *
 * @author Dsi
 */
@Entity
public class TripDetail extends Model {
    public Trip trip;
    public User passenger;
    public Integer driverScore;
    public Integer approved;
    public Integer score; 

    public TripDetail() {
    }

    public TripDetail(Trip trip, User passenger, Integer driverScore, Integer approved, Integer score) {
        this.trip = trip;
        this.passenger = passenger;
        this.driverScore = driverScore;
        this.approved = approved;
        this.score = score;
    }
    
}
